package edu.scdx.service;

import java.util.List;

import edu.scdx.entity.Order;

public interface OrderService {

	void addOrder(String userTel, int id, String name, String type, String author, String publisher,
			String description, double price, double kou, Integer state, Integer comment);

	List<Order> getOrderByState(String userTel, Integer state);

	List<Order> getOrderByComment(String userTel, Integer comment);

	void deleteOrder(String userTel, Integer id);

	void updateComment(String userTel, Integer id, Integer add);

	List<Order> getAllNotSold(Integer state);

	void updateState(String tel, Integer id, Integer state);

	

}
